<?php foreach ($this->commentList as $v):?>
	    				<li>
	    					<span class="head">
	    					<?php $user = $this->member->getUserDetails(array('uid'=>$v->uid));?>
		    				<?php if (!empty($user)):?>
		    					<img width="40" height="40" src="<?php if ($user[0]['headimg']){echo $user[0]['headimg'];} else {echo 'images/jc/JC_03.png';}?>" alt="" width="67" height="67"/>
		    				<?php else:?>
		    					<img width="40" height="40" src="images/jc/JC_03.png" alt="" />
		    				<?php endif;?>
	    					</span>
	    					<span class="comment_item">
	    						<b class="spbg2 corner"></b>
	    						<?php echo $v->content;?>
	    					</span>
	    					<span class="share">
	    						<a class="spbg s-facebook" href="http://twitter.com/share?url=<?=MY_URL?>/match-index?matchid=<?php echo $v->MatchID?>&amp;text=<?php echo $v->content;?>" target="_blank">facebook</a>
	    						<!-- <a class="spbg s-twitter" href="http://www.facebook.com/sharer.php?u=<?=MY_URL?>/match-index?matchid=<?php echo $v->MatchID?>&t=<?php echo mb_substr($v->content, 0, 120);?>">twitter</a> -->
								<a class="spbg s-twitter" href="javascript: void(0);" onclick="share.share('<?php echo FACEBOOK_CONSUMER_ID;?>', '<?php echo $v->content;?> @ <?=MY_URL?>/match-index?matchid=<?php echo $v->MatchID?>#<?php echo $v->matchcomments_id;?>')">twitter</a>	    					</span>
	    				</li>
    				<?php endforeach;?>					
<script>
var share = {
	share: function(appId, msg) {		
         FB.init({ 
            appId: appId, cookie:false, 
            status:false, xfbml:false 
         });
         FB.ui({ method: 'feed', message: msg});		 
	}
};  
</script>